package com.psy.counseling.mapper;

import com.psy.counseling.entity.Result;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.psy.counseling.entity.TestResult;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 梁学儒
 * @since 2022-05-31
 */
public interface ResultMapper extends BaseMapper<Result> {

    @Select("select result_info from result where tes_id = #{tesId}")
    String getResultInfoById(TestResult testResult);
}
